﻿<%@ Page Language="C#" MasterPageFile="~/View/Shared/EHSubmit.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="View_Student_Default" Title="EHSubmit作业管理系统－教师界面" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .icon-tree
        {
        	background-image:url(tool.png);
        }
        
        .ehsubmit-header
        {
        	
        	background-image:url(../../images/top_bg.gif);
        	background-repeat:repeat-x;
        	height:70px;
        	margin:0;
        	background-color:#dfe8f6;
        }
        .ehsubmit-logo
        {   
        	background-image:url(../../images/logo.gif);
            margin-top:10px;
            margin-left:10px;
            width:135px;
            height:40px;
            background-repeat:no-repeat;
        }
        
        .x-menu {
	        z-index: 15100 !important;
        }
        
        /*信息已阅的标记*/
        .x-grid3-row-viewed
        {
        	background-color: #D0D0D5;
        }
    </style>
    
    <script type="text/javascript">
        var CurrentUser = {
            ID : '<%=CurrentUser.ID.Trim()%>',
            Name: '<%=CurrentUser.Name.Trim()%>',
            BirthDay: '<%=CurrentUser.Birthday%>',
            Email: '<%=CurrentUser.Email.Trim()%>',
            Phone: '<%=CurrentUser.Phone.Trim()%>',
            Institute: '<%=CurrentUser.Institute.Trim()%>',
            Department: '<%=CurrentUser.Department.Trim()%>',
            Class: '<%=CurrentUser.Class.Trim()%>',
            Sex: '<%=CurrentUser.Sex.Trim()%>',
            LastLoginTime: '<%=CurrentUser.LastLoginTime.ToString()%>',
            LoginCount: '<%=CurrentUser.LoginCount.ToString()%>'
        }
    </script>
    
    <!-- overrides to base library -->
    <link rel="stylesheet" type="text/css" href="<%= ResolveClientUrl("~/GlobalScripts/ux/css/Portal.css")%>" />
    <link rel="stylesheet" type="text/css" href="<%= ResolveClientUrl("~/GlobalScripts/ux/css/Upload.css")%>" />
    <link rel="stylesheet" type="text/css" href="<%= ResolveClientUrl("~/GlobalScripts/ux/css/CenterLayout.css")%>" />
    <link rel="stylesheet" type="text/css" href="<%= ResolveClientUrl("~/GlobalScripts/ux/css/Question.css")%>" />
    <!--<link rel="stylesheet" type="text/css" href="<%= ResolveClientUrl("~/GlobalScripts/ux/css/rating.css")%>" />-->
    
    <!-- extensions -->
    <!-- 可拖拽综合信息窗 -->
    <script type="text/javascript" src="<%= ResolveClientUrl("~/GlobalScripts/ux/Portal.js")%>"></script>
    <script type="text/javascript" src="<%= ResolveClientUrl("~/GlobalScripts/ux/PortalColumn.js")%>"></script>
    <script type="text/javascript" src="<%= ResolveClientUrl("~/GlobalScripts/ux/Portlet.js")%>"></script>
    
    <!-- 给tab加上关闭按钮-->
    <script type="text/javascript" src="<%= ResolveClientUrl("~/GlobalScripts/ux/TabCloseMenu.js")%>"></script>
    
    <!-- 换肤控件-->
    <script type="text/javascript" src="<%= ResolveClientUrl("~/GlobalScripts/ux/ThemeChange.js")%>"></script>
    
    <!-- 上传框 -->
    <script type="text/javascript" src="<%= ResolveClientUrl("~/GlobalScripts/ux/FileUploadField.js")%>"></script>
    
    <!--居中式布局-->
    <script type="text/javascript" src="<%= ResolveClientUrl("~/GlobalScripts/ux/CenterLayout.js")%>"></script>
    
    <!--作业展示插件-->
    <script type="text/javascript" src="<%= ResolveClientUrl("~/GlobalScripts/ux/Question.js")%>"></script>
    <!-- 等级评定组件
    <script type="text/javascript" src="<%= ResolveClientUrl("~/GlobalScripts/ux/rating.js")%>" ></script>-->
    
    <!--首页Portlet导航-->
    <script type="text/javascript" src="index.js"></script>
    
    <!--用户信息管理-->
    <script type="text/javascript" src="UserInfo.js"></script>
    
    <!--主观题部分-->
    <!--布置作业 -->
    <script type="text/javascript" src="publish.js"></script>   
    <!--批改作业窗口-->
    <script type="text/javascript" src="hworkMark.js"></script>
    <!--批改作业-->
    <script type="text/javascript" src="hworkMarking.js"></script>
    <!--查看作业-->
    <script type="text/javascript" src="hworkCheckMarked.js"></script>
    
    <!--客观题部分-->
    <script type="text/javascript" src="questionAdd.js"></script>
    <script type="text/javascript" src="publishObj.js"></script>
    
    <!-- 对于chart展示的bug的部分解决-->
    <script type="text/javascript" src="<%= ResolveClientUrl("~/GlobalScripts/ux/uxvismode.js")%>"></script>
    <!--统计分析 -->
    <script type="text/javascript" src="analysis.js"></script>
    <script type="text/javascript" src="decision.js"></script>
         
    <!--写消息(包括联系人列表)-->
    <script type="text/javascript" src="msgContact.js"></script>
    <script type="text/javascript" src="msgWrite.js"></script>
    <!--消息箱查看-->
    <script type="text/javascript" src="msgCheck_inbox.js"></script>
    <script type="text/javascript" src="msgCheck_outbox.js"></script>
    <script type="text/javascript" src="msgCheck_trash.js"></script>
    <script type="text/javascript" src="msgCheckRecordDetails.js" ></script>
    <!--留言板 -->
    <script type="text/javascript" src="BBS_AddAnn.js"></script>
    <script type="text/javascript" src="BBS_Ann.js"></script>
    <script type="text/javascript" src="BBS_AddRes.js"></script>
    <script type="text/javascript" src="BBS_View.js"></script>
    
    <!--左边功能区-->
    <script type="text/javascript" src="menuTree.js" ></script>

    <!--主页面js，放在最后-->
    <script type="text/javascript" src="main.js"></script>
    
    <!--按钮样式-->
    <link rel="stylesheet" type="text/css" href="<%= ResolveClientUrl("~/style/icon.css")%>" />
    
    
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" Runat="Server">
    
    <div id="ehsubmit-head" class="ehsubmit-header">
        <div id="ehsubmit-logo" class="ehsubmit-logo"></div>
    </div>

    <script type="text/javascript">
    
    Ext.onReady(function(){
		Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
		Ext.QuickTips.init();//开启提示功能
		
		var viewport = new Ext.Viewport({
			layout: 'border',//使用border布局
			items: [//布局中的各项目
				headerPanel,
				treePanel,
				mainPanel,
				versionBar
			]
		});
		
		// 测试显示窗体
		//EHSubmit.showWin(EHSubmit.TestWin);
    });
    
    </script>

</asp:Content>

